package com.sc.service;

import com.sc.domain.Storage;
import com.sc.dto.StorageDto;

import java.util.List;
import java.util.Map;

public interface StorageService {
    boolean addStorage(Storage storage);

    boolean deleteStorageById(Long id);

    boolean updateStorage(Storage storage);

    Map<String, Object> pageQuery(StorageDto storageDTO);

    Storage selectById(Long id);

    boolean deleteStorageByIds(List<Integer> ids);
}
